package com.zmj.sy.mom.srv.aps.feign;


import com.zmj.sy.mom.srv.mbd.api.bean.entity.AssemblyInfo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.Map;
import java.util.Set;

@FeignClient(value = "mom-srv-mbd-biz", contextId = "bbb")
public interface MbdFeign {
    /**
     * 从mbd获取尺寸
     */
    @GetMapping("/mbdTransfer/getSizeInfo")
    Map<String, AssemblyInfo> getSizeInfo(@RequestBody Set<String> collect);

    @GetMapping({"/mbdTransfer/getDesignDrawingUrl"})
    String getDesignDrawingUrl(@RequestParam("plmId") String var1, @RequestParam("drawingNumber") String var2);

    @GetMapping({"/mbdTransfer/getProcessDrawingUrl"})
    String getProcessDrawingUrl(@RequestParam("plmId") String var1);

}